/* 
* Copyright (C) 2011-2018 ShenZhen iBOXSaaS Information Technology Co.,Ltd. 
* 
* All right reserved. 
* 
* This software is the confidential and proprietary 
* information of iBOXSaaS Company of China. 
* ("Confidential Information"). You shall not disclose 
* such Confidential Information and shall use it only 
* in accordance with the terms of the contract agreement 
* you entered into with iBOXSaaS inc. 
* 
*/

package com.iboxpay.open.common.db.entity;

import java.util.Date;
/**
 * 
 * AuthTokenRefresh.java
 * @author xuxiao
 * @date 2018/06/15
 */
public class AuthTokenRefresh {
    private Long refreshId;

    private Long tokenId;

    private String accessToken;

    private Date tokenEnactTime;

    private Integer accessTokenExp;

    private Date createTime;

    private Date updateTime;

    public Long getRefreshId() {
        return refreshId;
    }

    public void setRefreshId(Long refreshId) {
        this.refreshId = refreshId;
    }

    public Long getTokenId() {
        return tokenId;
    }

    public void setTokenId(Long tokenId) {
        this.tokenId = tokenId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken == null ? null : accessToken.trim();
    }

    public Date getTokenEnactTime() {
        return tokenEnactTime;
    }

    public void setTokenEnactTime(Date tokenEnactTime) {
        this.tokenEnactTime = tokenEnactTime;
    }

    public Integer getAccessTokenExp() {
        return accessTokenExp;
    }

    public void setAccessTokenExp(Integer accessTokenExp) {
        this.accessTokenExp = accessTokenExp;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}